#pragma once

#include <entt/entt.hpp>

#include "../../render/components.hpp"
namespace qbe::draw::path {

enum struct State { None = 0, Begin, Wait, Create, Upatde, Complete, Cancel };
struct Models {
  render::LineMesh line;
  render::PolyLineMeshBundle width_line;

  State state = State::None;
  entt::entity entity = entt::null;
  entt::entity complete_entity = entt::null;

  double line_width = 0.0;
  double cente_line_width = 0.0;
  double radius_turning = 0.0;

  bool clear_tag = false;
  bool is_moveing = false;

  bool use_ui = false;

  bool is_esc = false;
};
}  // namespace qbe::draw::path